package com.pine.app.module.security.oauth.user.service;

import com.pine.app.module.security.core.userdetails.UserDetails;
import com.pine.app.module.security.core.common.enums.ResponseProduceType;
import com.pine.app.module.security.oauth.support.password.HttpPasswordRequest;

/**
 * @author xiaoyuan
 * @create 2020/3/7
 **/
public interface LoginService {

    UserDetails login(HttpPasswordRequest request);

    UserDetails login(HttpPasswordRequest request, ResponseProduceType responseProduceTypeEnum);
}
